package com.xinqi.modules.discuss.discuss.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 实体层
 *
 * @author: yyzhen
 * @date: 2023/03/13
 */
@Setter
@Getter
@TableName("co_course_discuss_student_log")
public class CourseDiscussStudentLogEntity extends UpdateTimeEntity {
    /**
     * 班级ID (统计所需)
     */
    @TableField(value = "class_id")
    private Long classId;
    /**
     * 课程内容ID
     */
    @TableField(value = "content_id")
    private Long contentId;
    /**
     * 学生ID
     */
    @TableField(value = "student_id")
    private Long studentId;
    /**
     * 是否已读
     */
    @TableField(value = "is_read")
    private Integer isRead;
    /**
     * 是否参与
     */
    @TableField(value = "is_partake")
    private Integer isPartake;
}
